package com.example.dell.fastshopping.home;

import android.arch.lifecycle.LiveData;
import android.arch.lifecycle.MutableLiveData;
import android.arch.lifecycle.ViewModel;

import com.example.dell.fastshopping.mall.entity.DuoBaoMenu;
import com.example.dell.fastshopping.R;
import com.example.dell.fastshopping.network.ApiService;
import com.example.dell.fastshopping.network.RetrofitClient;
import com.example.dell.fastshopping.network.http.BaseResponse;

import java.util.ArrayList;

import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.functions.Consumer;
import io.reactivex.schedulers.Schedulers;

public class MainViewModel extends ViewModel {

    //private ApiService service = RetrofitClient.getInstance().create(ApiService.class);

    public ArrayList<Integer> getBannerList() {
        ArrayList<Integer> list = new ArrayList<>();
        list.add(R.mipmap.default_img);
        list.add(R.mipmap.default_img);
        list.add(R.mipmap.default_img);
        return list;
    }

}
